//定义接口
export interface Person {
    id:string,
    name:string,
    age:number,
    x?:string,
}

//自定义类型
export type Persons = Array<Person>
export type PersonArr = Person[]